<?php
/**
 * Created by PhpStorm.
 * User: KaBuDa
 * Date: 2020/9/15
 * Time: 15:49
 */

namespace app\api\validate;


use think\Validate;

class WhisStampsValidate extends Validate
{
    protected $rule=[
        'money'=>'require|number|gt:0',
        'title'=>'require',
        'content'=>'require'
    ];

    protected $message=[
        'money.require'=>"金额不能为空",
        'money.number' =>"金额必须是数字",
        'money.gt'     =>'金额必须大于0',
        'title'        =>"标题不能为空",
        'content'      =>'内容不能为空'
    ];
}